<!-- 容器组件 -->

<template>
    <el-container>
        <el-header height="70px">
            <topBar></topBar>
        </el-header>
        <el-container>
            <el-aside width="150px">
                <menuList></menuList>
            </el-aside>
            <el-main>
                <router-view></router-view>
            </el-main>
        </el-container>
    </el-container>
</template>

<script>

import topBar from './topBar'
import menuList from './menuList'

export default {
    name: 'container',
    components: {
        topBar,
        menuList
    }
}
</script>

<style lang="less" scoped>
    @import '../assets/css/base.less';
    .el-container {
        height: 100%;
        background-color: @bgColor1;
        color: @textColor;
    }
    .el-aside {
        background-color: @bgColor2;
        overflow-x: hidden;
    }
    .el-header {
        border-bottom: 1px solid @borderLight;
    }
</style>